package cn.bdqn.services.dept.mapper;

import java.util.List;

import cn.bdqn.model.pojo.Warrantyinfo;
import cn.bdqn.model.pojo.WarrantyinfoExample;
import org.apache.ibatis.annotations.Param;

public interface WarrantyinfoMapper {
    long countByExample(WarrantyinfoExample example);

    int deleteByExample(WarrantyinfoExample example);

    int deleteByPrimaryKey(Integer warrantyNumber);

    int insert(Warrantyinfo record);

    int insertSelective(Warrantyinfo record);

    List<Warrantyinfo> selectByExample(WarrantyinfoExample example);

    Warrantyinfo selectByPrimaryKey(Integer warrantyNumber);

    int updateByExampleSelective(@Param("record") Warrantyinfo record, @Param("example") WarrantyinfoExample example);

    int updateByExample(@Param("record") Warrantyinfo record, @Param("example") WarrantyinfoExample example);

    int updateByPrimaryKeySelective(Warrantyinfo record);

    int updateByPrimaryKey(Warrantyinfo record);
}